package com.yh.serviceimpl;

import com.yh.dao.SyslogDao;
import com.yh.javabean.SysLog;
import com.yh.service.SyslogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("syslogService")
public class SyslogServiceImpl implements SyslogService {


    @Autowired
    SyslogDao syslogDao;

    @Override
    public int insertSyslog(SysLog sysLog) {
        return syslogDao.insert(sysLog);
    }
}
